package com.broadengate.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.broadengate.bean.NavagationInfo;

public interface NavagationDao<T> extends BaseDao<T>
{
    /**
     * 根据目录ID查询目录详细信息
     * @param id
     * @return [参数说明]
     * 
     * @return NavagationInfo [返回类型说明]
     * @exception throws [违例类型] [违例说明]
     * @see [类、类#方法、类#成员]
     */
    public NavagationInfo getNavagationInfoById(@Param(value="id") String id);
    
    /**
     * 根据父目录ID查询所有子目录信息
     * @param pid
     * @return [参数说明]
     * 
     * @return List<NavationInfo> [返回类型说明]
     * @exception throws [违例类型] [违例说明]
     * @see [类、类#方法、类#成员]
     */
    public List<NavagationInfo> getChildNavationInfoByPid(@Param(value="pid") String pid);
    
}
